package com.cinema;

import java.util.ArrayList;
import java.util.Date;

public class TestReadUsers {
    public static void main(String[] args) {
        DataManager.init();

        ArrayList<User> userList = DataManager.userList;
        for (User user : userList) {
            System.out.println("=== 用户信息 ===");
            System.out.println("用户ID：" + user.getUserId());
            System.out.println("用户名：" + user.getUsername());
            System.out.println("密码（MD5加密后）：" + user.getPassword());
            System.out.println("注册时间：" + user.getRegisterTime());
            System.out.println("手机号：" + user.getPhone());
            System.out.println("用户类型：" + user.getUserType());
            System.out.println("------------------");
        }
    }
}